package com.elec.domain.entity;


import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 定义用户角色及相应权限(Role)表实体类
 *
 * @author yu
 * @since 2024-07-05 13:42:59
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("role")
public class Role {
    @TableId
    private Integer roleId;

    //角色名称
    private String roleName;
    //权限列表
    private Object permissions;


}
